<?php
/**
 * -----------------------------------------------------
 *
 * models Feedback_model
 *
 * @package     models
 * @subpackage  
 * @category    Feedback_model  - 投诉建议模型控制器 
 * @author      ChenFu  - 577274701@qq.com
 * @since       2015-8-1 version 1.0       
 * -----------------------------------------------------    
 */
class Feedback_model extends CI_Model
{    
	const ADDRESS = 'dd_feedback';

	public static $error;
	
	public function __construct()
	{
		parent::__construct();
        $this->load->database();
	}

	/**
	 * 增加数据
	 */
	public function insert($data)
	{
		if($this->db->insert(self::TABLE,$data)){
			return true;
		}else{
			return false;
		}
	}



}